﻿using System;

namespace CMS.ORM.Model
{
    /// <summary>
    /// 实体类Vote 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Vote
    {
        public Vote()
        { }
        #region Model
        private decimal _id;
        private string _title;
        private string _description;
        private string _option1;
        private string _option2;
        private string _option3;
        private string _option4;
        private string _option5;
        private int _maxoption;
        private int _maxselect;
        private string _creator;
        private DateTime _createtime;
        private string _lastupdater;
        private DateTime _lastupdatetime;
        private DateTime _deadline;
        /// <summary>
        /// 投票编号
        /// </summary>
        public decimal id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 投票标题
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 投票描述
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 选项1
        /// </summary>
        public string option1
        {
            set { _option1 = value; }
            get { return _option1; }
        }
        /// <summary>
        /// 选项2
        /// </summary>
        public string option2
        {
            set { _option2 = value; }
            get { return _option2; }
        }
        /// <summary>
        /// 选项3
        /// </summary>
        public string option3
        {
            set { _option3 = value; }
            get { return _option3; }
        }
        /// <summary>
        /// 选项4
        /// </summary>
        public string option4
        {
            set { _option4 = value; }
            get { return _option4; }
        }
        /// <summary>
        /// 选项5
        /// </summary>
        public string option5
        {
            set { _option5 = value; }
            get { return _option5; }
        }
        /// <summary>
        /// 选项数量
        /// </summary>
        public int maxOption
        {
            set { _maxoption = value; }
            get { return _maxoption; }
        }
        /// <summary>
        /// 最大选择数
        /// </summary>
        public int maxSelect
        {
            set { _maxselect = value; }
            get { return _maxselect; }
        }
        /// <summary>
        /// 投票创建者
        /// </summary>
        public string creator
        {
            set { _creator = value; }
            get { return _creator; }
        }
        /// <summary>
        /// 投票创建时间
        /// </summary>
        public DateTime createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 投票最后更新者
        /// </summary>
        public string lastUpdater
        {
            set { _lastupdater = value; }
            get { return _lastupdater; }
        }
        /// <summary>
        /// 投票最后更新时间
        /// </summary>
        public DateTime lastUpdateTime
        {
            set { _lastupdatetime = value; }
            get { return _lastupdatetime; }
        }
        /// <summary>
        /// 投票结束时间
        /// </summary>
        public DateTime deadline
        {
            set { _deadline = value; }
            get { return _deadline; }
        }
        #endregion Model

    }
}


